<?php

class SectionsModule extends fvModule {
	
	function __construct () {
	    $moduleName = strtolower(substr(__CLASS__, 0, -6));
	    parent::__construct(fvSite::$fvConfig->get("modules.{$moduleName}.smarty.template"), 
	                        fvSite::$fvConfig->get("modules.{$moduleName}.smarty.compile"), 
	                        fvSite::$Layoult);
	}

	function showIndex($params) {
		$this->__assign('SM', SectionsManager::getInstance());
		return $this->__display("sections_index.tpl");
	}
}

?>
